package com.hotel.api.common;

import org.springframework.util.DigestUtils;

/**
 * TODO
 *
 * @Author 涛涛
 * @Create 2019/8/29
 */
public class Common {
    private static final String PASSWORD="fdksajkfdlak';023plp[rew";
    public static String MD5encode(String password){
        String str=PASSWORD+password;
        String encode= DigestUtils.md5DigestAsHex(str.getBytes());
        return encode;
    }
}
